﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;

namespace ParticularLocal
{
    public class Person
    {
        public string Id { get; set; }

        public string Name { get; set; }

        public Person()
        {
            Id = Regex.Replace(Convert.ToBase64String(Guid.NewGuid().ToByteArray()), "[/+=]", "");
            Name = NameGenerator.GenRandomName();
        }

        public override string ToString()
        {
            return $"Person Id:{Id}, Name={Name};";
        }
    }
}
